package com.lifesting.ganttviewer.model;

import java.io.Serializable;

public class GPredecessor implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 561660624146867145L;
	public static enum Predecessor_Type{FS,SS,FF,SF};
	private GTask task;
	private Predecessor_Type type;
	private GDuration lag;
	public GTask getTask() {
		return task;
	}
	public void setTask(GTask task) {
		this.task = task;
	}
	public Predecessor_Type getType() {
		return type;
	}
	public void setType(Predecessor_Type type) {
		this.type = type;
	}
	public GDuration getLag() {
		return lag;
	}
	public void setLag(GDuration lag) {
		this.lag = lag;
	}
	
	
}
